<template>
  <a-result status="404" title="404" sub-title="抱歉,未找到页面">
    <template #extra>
      <a-button type="primary" @click="backHome">返回首页</a-button>
    </template>
  </a-result>
</template>

<script setup lang="ts">
const router = useRouter()
function backHome() {
  router.replace({ path: '/' })
}
</script>

<style scoped></style>
